<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>产品模块</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: #f5f5f5;
        }
        .box{
            width: 298px;
            height: 415px;
            background-color:#fff;
            margin:100px auto;
        }

        /* 宽度和父元素一样宽 */
        .box img{
            width: 100%;
        }
        .review{
            height: 71px;
            font-size: 14px;
            /* 因为这个段落没有width属性 使用Padding不会撑开盒子的宽度 */
            padding:0 28px ;
            margin-top: 30px;  
            background-color: red;
        }
        .appraise{
            font-size: 12px;
            color: #c0c0c0;
            margin-top: 20px;
            padding: 0 28px;
        }
        .info{
            font-size: 14px;
            margin-top: 10px;
            padding: 0 28px;
        }
        .info h4{
            display: inline-block;
            font-weight: 400;
        }
        .info span{
            color: coral;
        }
        .info em{
           font-style: normal;
           color: #c0c0c0;
           margin: 0 6px 0 15px;
        }
    </style>
</head>
<body>
    <div class="box"><img src="box.png" >
        <p class="review">快递牛，整体不错蓝牙可以说是秒连啊，小米给力</p>
        <div class="appraise">来自于 1435349873的评价</div>
        <div class="info"><h4><a href="">Redmi AirDots真无线蓝.. </a> <em>|</em></h4>
            <span>99.9元</span>
        </div>
     </div>
</body>
</html>